package com.example.mybatisdemo1.pojo;

import java.util.Date;

public class Studb {
    /* 字段和数据库保持一致*/
    private String number;
    private String name;
    private Date birthday;
    private String stuclass;

    public Studb(String number, String name, Date birthday, String stuclass) {
        this.number = number;
        this.name = name;
        this.birthday = birthday;
        this.stuclass = stuclass;
    }
    public Studb(){

    }


    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getStuclass() {
        return stuclass;
    }

    public void setStuclass(String stuclass) {
        this.stuclass = stuclass;
    }
}
